# 给时间排序并加一天
def add_one_day(date_list):
    # 给时间排序
    date_list.sort()

    up_date_list = []

    # 给每个时间加一天
    for cu_date in date_list:
        part1 = cu_date[0:8]
        part2 = cu_date[8:10]
        part3 = cu_date[10:]

        part2 = str(int(part2) + 1)
        # 处理日小于10的情况
        if int(part2) < 10:
            part2 = str('0' + str(part2))
        else:
            part2 = str(part2)
        up_date_list.append(part1 + part2 + part3)

    return up_date_list
#     split_date_list = cu_date.split()
#     cu_day = ''
#
#     for sp_date in split_date_list:
#         if '/' in sp_date:
#             day = sp_date.split('/')
#             cu_day = int(day[2]) + 1
#
#             # 处理日小于10的情况
#             if cu_day < 10:
#                 day[2] = str('0' + str(cu_day))
#             else:
#                 day[2] = str(cu_day)
#
#             cu_day = "/".join(day)
#     up_date_list.append(cu_day + " " + split_date_list[1])
# print("更新后：")
# print(up_date_list)
